<div style="overflow: auto; width: 100%; height: 100%" id="rightscrolldiv">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="treeDocumentListTable">
			<tr height=20>
				<th align="left"><? $kernelStrings.app_treefurfldname_title ?></th>
				<th align="center"><nobr><? $kernelStrings.app_treerights_title|cat:" *)" ?></nobr></th>
				<th align="center"><? $docsColumnName ?></th>
				<? if $showSharedPanel ?>
					<th align="center"><? $kernelStrings.app_treeshared_title ?></th>
				<? /if ?>
			</tr>
		<? assign var=index value=0 ?>
		<? foreach from=$folders item=statisticsFolder key=curStatisticsFolderID name=statisticsLoop ?>
			<? assign var=right value=$statisticsFolder->RIGHT ?>

			<? compare_str assign=is_recycled arg1=$curStatisticsFolderID arg2=RECYCLED ?>
			<? compare_str assign=is_availfolders arg1=$curStatisticsFolderID arg2=AVAILABLEFOLDERS ?>

			<? if $is_recycled != 0 && $is_availfolders != 0 ?>
				<? math equation="x + 1" x=$index assign=index ?>

				<tr <? if ($index % 2) == 0 ?>bgcolor="<? #oddRowsColor#?>"<?else?>bgcolor=<? #evenRowsColor# ?><? /if ?>>
					<td <? if $right < 0 || $right == "" ?>class="treeFoldersSummary_noaccess"<? else ?>class="treeCatalogRow"<?/if?>><? $statisticsFolder->OFFSET_STR ?><? conditionalLink href=$statisticsFolder->ROW_URL text=$statisticsFolder->NAME|sureecho|htmlsafe:true:true ?></td>
					<td align=center><? assign var=rightShort value=$tree_access_mode_names.$right ?><? $kernelStrings.$rightShort|sureecho ?></td>
					<td align=center><? if $right >= 0 ?><? if $statisticsFolder->DOCCOUNT ?><? $statisticsFolder->DOCCOUNT|sureecho ?><? else ?>&nbsp;<? /if ?><?else?>&nbsp;<?/if?></td>
					<? if $showSharedPanel ?>
						<td align=center><? if $right >= 0 ?><? switchedOutput str2=#checkedImg# str1="&nbsp;" val=$statisticsFolder->SHARED true_val=0 ?><?else?>&nbsp;<?/if?></td>
					<? /if ?>
				</tr>
			<? /if ?>
		<? /foreach ?>		
		<? if $index == 0 ?>
			<tr>
				<tr><td colspan=4 align="center"><div class="noentries"><? $kernelStrings.app_noentrieis_text|htmlsafe:true:true ?></div></td></tr>
			</tr>
		<? else ?>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="treeNumDocumentsCell" valign=middle><? $summaryStr ?></td>
				</tr>
				<tr>
					<td class="treeFolderSignsNote">*) <? $kernelStrings.app_treerightslegend_text|nl2br ?></td>
				</tr>
			</table>
		<? /if ?>
	</table>
</div>